<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <div id="fy_window" class="easyui-window" data-options="closed:true" style="width: 800px;height: 400px;">
        <iframe id="fy_iframe" style="width: 800px;height: 400px;"></iframe>
    </div>

        <div class="easyui-panel" title="泵机">
            <ul class="ul">
                <volist name="pumps" id="pump">
                    <li>
                        <a href="#" onclick="open_fy_detail('/Manage/AdminPumpPump/just_see_fy?id={$pump['id']}')">
                            <div class="pump-div">
                                <if condition="$pump['type'] eq 1 ">
                                    <img class="img" src="__PUBLIC__/module/manage/image/rain_pump.jpg">
                                    <else />
                                    <img class="img" src="__PUBLIC__/module/manage/image/drain_pump.jpg">
                                </if>
                                <div class="pump-font"><span>{$pump['p_name']}</span></div>
                            </div>
                        </a>
                    </li>
                </volist>

            </ul>
        </div>
        <div class="easyui-panel" title="格栅机">
            <ul class="ul">
                <volist name="macs" id="mac">
                    <li>
                        <a href="#" onclick="open_fy_detail('/Manage/AdminPumpMachine/just_see_fy?id={$mac['id']}')">
                            <div class="pump-div">
                                <img class="img" src="__PUBLIC__/module/manage/image/machine.jpg">
                                <div class="font"><span>{$mac['scrmach_name']}</span></div>
                            </div>
                        </a>
                    </li>
                </volist>
            </ul>
        </div>
        <div class="easyui-panel" title="闸门">
            <ul class="ul">
                <volist name="gates" id="gate">
                    <li>
                        <a  href="#" onclick="open_fy_detail('/Manage/AdminPumpGate/just_see_fy?id={$gate['id']}')">
                            <div class="pump-div">
                                <img class="img" src="__PUBLIC__/module/manage/image/gate.jpg">
                                <div class="font"><span>{$gate['gate_name']}</span></div>
                            </div>
                        </a>
                    </li>
                </volist>
            </ul>
        </div>
        <div class="easyui-panel" title="水表">
            <ul class="ul">
                <volist name="waters" id="water">
                    <li>
                        <a  href="#" onclick="open_fy_detail('/Manage/AdminPumpWater/just_see_fy?id={$water['id']}')">
                            <div class="pump-div">
                                <img class="img" src="__PUBLIC__/module/manage/image/water.jpg">
                                <div class="font"><span>{$water['we_number']}</span></div>
                            </div>
                        </a>
                    </li>
                </volist>
            </ul>
        </div>
        <div class="easyui-panel" title="电表">
            <ul class="ul">
                <volist name="waterele" id="water">
                    <li>
                        <a  href="#" onclick="open_fy_detail('/Manage/AdminPumpWaterele/just_see_fy?id={$water['id']}')">
                            <div class="pump-div">
                                <img class="img" src="__PUBLIC__/module/manage/image/waterele.jpg">
                                <div class="font"><span>{$water['we_number']}</span></div>
                            </div>
                        </a>
                    </li>
                </volist>
            </ul>
        </div>
        <div class="easyui-panel" title="集水池">
            <ul class="ul">
                <volist name="cbs" id="cb">
                    <li>
                        <a  href="#" onclick="open_fy_detail('/Manage/AdminPumpCollectingBasin/just_see_fy?id={$cb['id']}')">
                            <div class="pump-div">
                                <img class="img" src="__PUBLIC__/module/manage/image/no_pic_heg.gif">
                                <div class="font"><span>{$cb['cb_id']}</span></div>
                            </div>
                        </a>
                    </li>
                </volist>
            </ul>
        </div>
        <div class="easyui-panel" title="前池">
            <ul class="ul">
                <volist name="fbs" id="fb">
                    <li>
                        <a  href="#" onclick="open_fy_detail('/Manage/AdminPumpForebay/just_see_fy?id={$fb['id']}')">
                            <div class="pump-div">
                                <img class="img" src="__PUBLIC__/module/manage/image/no_pic_heg.gif">
                                <div class="font"><span>{$fb['fb_id']}</span></div>
                            </div>
                        </a>
                    </li>
                </volist>
            </ul>
        </div>
        <div class="easyui-panel" title="进水管">
            <ul class="ul">
                <volist name="inlets" id="inlet">
                    <li>
                        <a  href="#" onclick="open_fy_detail('/Manage/AdminPumpInlet/just_see_fy?id={$inlet['id']}')">
                            <div class="pump-div">
                                <img class="img" src="__PUBLIC__/module/manage/image/no_pic_heg.gif">
                                <div class="font"><span>{$inlet['int_id']}</span></div>
                            </div>
                        </a>
                    </li>
                </volist>
            </ul>
        </div>
        <div class="easyui-panel" title="出水管">
            <ul class="ul">
                <volist name="outletpipes" id="out">
                    <li>
                        <a  href="#" onclick="open_fy_detail('/Manage/AdminPumpOutletPipe/just_see_fy?id={$out['id']}')">
                            <div class="pump-div">
                                <img class="img" src="__PUBLIC__/module/manage/image/no_pic_heg.gif">
                                <div class="font"><span>{$out['out_id']}</span></div>
                            </div>
                        </a>
                    </li>
                </volist>
            </ul>
        </div>
        <div class="easyui-panel" title="出水池">
            <ul class="ul">
                <volist name="outletsums" id="out">
                    <li>
                        <a  href="#" onclick="open_fy_detail('/Manage/AdminPumpOutletSum/just_see_fy?id={$out['id']}')">
                            <div class="pump-div">
                                <img class="img" src="__PUBLIC__/module/manage/image/no_pic_heg.gif">
                                <div class="font"><span>{$out['os_id']}</span></div>
                            </div>
                        </a>
                    </li>
                </volist>
            </ul>
        </div>
        <div class="easyui-panel" title="阀门">
            <ul class="ul">
                <volist name="valves" id="valve">
                    <li>
                        <a  href="#" onclick="open_fy_detail('/Manage/AdminPumpValve/just_see_fy?id={$valve['id']}')">
                            <div class="pump-div">
                                <img class="img" src="__PUBLIC__/module/manage/image/valve.jpg">
                                <div class="font"><span>{$valve['val_name']}</span></div>
                            </div>
                        </a>
                    </li>
                </volist>
            </ul>
        </div>
        <div class="easyui-panel" title="输送机">
            <ul class="ul">
                <volist name="conveyors" id="conveyor">
                    <li>
                        <a  href="#" onclick="open_fy_detail('/Manage/AdminPumpConveyor/just_see_fy?id={$conveyor['id']}')">
                            <div class="pump-div">
                                <img class="img" src="__PUBLIC__/module/manage/image/conveyor.jpg" style="width: 150px;height: 100px;">
                                <div class="font"><span>{$conveyor['conv_name']}</span></div>
                            </div>
                        </a>
                    </li>
                </volist>
            </ul>
        </div>
        <div class="easyui-panel" title="压榨机">
            <ul class="ul">
                <volist name="presss" id="press">
                    <li>
                        <a  href="#" onclick="open_fy_detail('/Manage/AdminPumpPress/just_see_fy?id={$press['id']}')">
                            <div class="pump-div">
                                <img class="img" src="__PUBLIC__/module/manage/image/press.jpg" style="width: 180px;height: 100px;">
                                <div class="font"><span>{$press['pre_name']}</span></div>
                            </div>
                        </a>
                    </li>
                </volist>
            </ul>
        </div>
        <div class="easyui-panel" title="起吊设备">
            <ul class="ul">
                <volist name="hoists" id="hoist">
                    <li>
                        <a  href="#" onclick="open_fy_detail('/Manage/AdminPumpHoist/just_see_fy?id={$hoist['id']}')">
                            <div class="pump-div">
                                <img class="img" src="__PUBLIC__/module/manage/image/hoist.jpg" style="width: 180px;height: 100px;">
                                <div class="font"><span>{$hoist['hoist_name']}</span></div>
                            </div>
                        </a>
                    </li>
                </volist>
            </ul>
        </div>
        <div class="easyui-panel" title="发电机">
            <ul class="ul">
                <volist name="dynamos" id="dynamo">
                    <li>
                        <a  href="#" onclick="open_fy_detail('/Manage/AdminPumpDynamo/just_see_fy?id={$dynamo['id']}')">
                            <div class="pump-div">
                                <img class="img" src="__PUBLIC__/module/manage/image/dynamo.jpg" style="width: 150px;height: 120px;">
                                <div class="font"><span>{$dynamo['dyn_name']}</span></div>
                            </div>
                        </a>
                    </li>
                </volist>
            </ul>
        </div>
        <div class="easyui-panel" title="变压器">
            <ul class="ul">
                <volist name="tfs" id="tf">
                    <li>
                        <a  href="#" onclick="open_fy_detail('/Manage/AdminPumpTransFormer/just_see_fy?id={$tf['id']}')">
                            <div class="pump-div">
                                <img class="img" src="__PUBLIC__/module/manage/image/tf.jpg" style="width: 150px;height: 120px;">
                                <div class="font"><span>{$tf['tf_name']}</span></div>
                            </div>
                        </a>
                    </li>
                </volist>
            </ul>
        </div>



    <script>
        function open_fy_detail(url){
            var mainheight;
            var mainwidth;
            $('#fy_iframe').attr('src', url);
//            mainheight = $('#fy_iframe').contents().find("body").height();
//            mainwidth = $('#fy_iframe').contents().find("body").width();
//            $('#fy_iframe').css({'width':mainwidth, 'height':mainheight});
            $('#fy_window').window({title:' ',modal:true});
            $('#fy_window').window('open');
        }
    </script>

